package com.hspedu.customgeneric;

/**
 * @author LiuJinTao
 * @className CustomGenericExercise
 * @date 2024/06/16 12:32
 * @description TODO
 */
public class CustomGenericExercise {
    public static void main(String[] args) {
        Tiger<Double, String, Integer> tiger = new Tiger<Double, String, Integer>("join");
        tiger.setT(10.9);// OK
//        tiger.setT("yy");// F
        System.out.println(tiger);
        Tiger tiger1 = new Tiger("join~~");// Object, Object, Object
        tiger1.setT("yy");
        System.out.println(tiger1);

    }
}
